Description

Sets the state of the tank to Tank_Down, waits for the specified downtime, then sets the state back to the previous setting. If you defined a downtime using the location downtime dialog, call the Tank_GoDown subroutine in the downtime logic rather than use a WAIT statement. If the downtime is for cleaning, use the Tank_DoPrep subroutine.

Use Tank_GoDown to shut down a tank due to equipment failure (e.g., pump failure). If the downtime occurs periodically, you can define a clock downtime in the downtime logic for the tank location and use Tank_GoDown in place of the WAIT statement.

Components

<Tank ID>

The tank name or location index number.

<Down time>

The duration (in time units defined in the General Information dialog) of the downtime.

Example

A fill line from a dry supply bin plugs randomly according to an exponential distribution with a mean of 10 minutes. The time to unplug the line is normally distributed with a mean of 5 minutes and a standard deviation of 1 minute. To define this behavior, define a clock downtime for the bin to occur with a frequency of E(10) minutes. In the logic defined for the downtime, enter the following logic: